home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 6
/
FM Towns Free Software Collection 6.iso
/
t_os
/
speak
/
src
/
aidic.bas
next >
Wrap
BASIC Source File
|
1993-07-08
|
960b
|
36 lines
1000 '--------------------------------------------------------------------
1010 ' AI基本データ作成
1020 '--------------------------------------------------------------------
1030 OPEN "O",#1,"WORD.DAT"
1040 READ NUM:PRINT #1,NUM
1050 FOR I=1 TO NUM
1060 READ KOTOBA$,K1,K2,K3,K4,K5,K6
1070 WRITE #1,KOTOBA$,K1,K2,K3,K4,K5,K6
1080 NEXT
1090 CLOSE
1100 '
1110 OPEN "O",#1,"SENT.DAT"
1120 READ NUM:PRINT #1,NUM
1130 FOR I=1 TO NUM
1140 READ KOTOBA$:WRITE #1,KOTOBA$
1150 NEXT
1160 CLOSE
1170 END
1180 '
1190 DATA 11
1200 DATA こんにちは,3,1,2,3,0,0
1210 DATA いい,3,4,5,6,0,0
1220 DATA よい,3,4,5,6,0,0
1230 DATA わるい,3,4,5,6,0,0
1240 DATA だめ,3,4,5,6,0,0
1250 DATA いや,3,4,5,6,0,0
1260 DATA そう,3,4,5,6,0,0
1270 DATA ううん,3,4,5,6,0,0
1280 DATA うん,3,4,5,6,0,0
1290 DATA はい,4,4,5,6,7,0
1300 DATA いいえ,3,4,5,6,0,0
1310 '
1320 DATA 7
1330 DATA こんにちは,どもども,はろ~
1340 DATA そうだね,ううん,そうかな,はい